<template>
  <div class="homePage">
    <div class="homePageContent">
      <div class="title_row_module">
        <h1 class="title_info">为什么要考学历？因为高学历才能高收入 ！</h1>
        <p class="p_info">生活中，也许你正在因学历低而四处碰壁，殊不知，其实你离更好的生活，只差一个学历的距离！</p>
        <div class="row_img_info">
          <ul>
            <li :key="item.id" v-for="item in listdata">
              <img :src="item.src" alt />
              <p class="p_info" v-html="item.title"></p>
            </li>
          </ul>
          <div class="btn">
            <a href @click.prevent="showModal">距离更好的自己，只有一个学历的距离 >></a>
          </div>
        </div>
      </div>
      <div class="title_row_module school_list_content">
        <h1 class="title_info">选全国重点高校，社会认可度高</h1>
        <p class="p_info">官方授权，高校直录，报考正规院校，名校文凭触手可及</p>
        <div class="row_img_info bg_none">
          <div class="schoole_list">
            <div class="schoole1f">
              <div class="title">
                <span>成人高考</span>
              </div>
              <ol class="float_list">
                <li :key="item.id" v-for="item in school1f">
                  <img :src="item.src" alt />
                  <span class="schoole_name">{{item.schoolename}}</span>
                  <div class="posibtn">
                    <a href @click.prevent="showModal">下载招生简章</a>
                    <a href @click.prevent="showModal">咨询学业顾问</a>
                  </div>
                </li>
              </ol>
            </div>
            <div class="schoole1f schoole2f">
              <div class="title">
                <span>远程教育类</span>
              </div>
              <ol class="float_list">
                <li :key="item.id" v-for="item in school2f">
                  <img :src="item.src" alt />
                  <span class="schoole_name">{{item.schoolename}}</span>
                  <div class="posibtn">
                    <a href @click.prevent="showModal">下载招生简章</a>
                    <a href @click.prevent="showModal">咨询学业顾问</a>
                  </div>
                </li>
              </ol>
            </div>
            <div class="schoole1f schoole3f">
              <div class="title">
                <span>自学考试类</span>
              </div>
              <ol class="float_list">
                <li :key="item.id" v-for="item in school3f">
                  <img :src="item.src" alt />
                  <span class="schoole_name">{{item.schoolename}}</span>
                  <div class="posibtn">
                    <a href @click.prevent="showModal">下载招生简章</a>
                    <a href @click.prevent="showModal">咨询学业顾问</a>
                  </div>
                </li>
              </ol>
            </div>
          </div>
        </div>
      </div>
      <div class="title_row_module lookschool">
        <div class="row_img_info bg_none">
          <div class="btn bts newbtn">
            <a href @click.prevent="showModal">查看全部985高校 >></a>
            <a href @click.prevent="showModal">查看全部211高校 >></a>
            <a href @click.prevent="showModal">查看双一流院校 >></a>
          </div>
        </div>
      </div>
    </div>
    <div class="bgc_max bgimg">
      <div class="homePageContent">
        <div class="title_row_module solid_bottom">
          <h1 class="title_info" style="border:none">
            百余种
            <span style="color:rgb(130, 46, 62)">热门专业</span>，覆盖专业全科目
          </h1>
          <p class="p_info">选适合自己的，轻松考，毕业快，就业无压力</p>
          <div class="row_img_info bg_none bgc_set">
            <div
              class="item"
              v-for="item in floatlist1"
              :key="item.id"
              :style="{left: item.left /114.3+'rem',top:item.top/114.3 +'rem',backgroundColor:item.bgc}"
            >
              <h4 :style="{color:item.color}">{{item.title}}</h4>
              <div class="solid_down" :style="{backgroundColor:item.floatbgc}">
                <div>
                  <i
                    @click="showModal"
                    v-for="item2 in item.chilider"
                    :key="item2.id"
                    :style="{color:item.floattexcoolor}"
                  >{{item2.infotilt}}</i>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="homePageContent">
      <div class="title_row_module">
        <div class="row_img_info bg_none">
          <ul>
            <li :key="item.id" v-for="item in listdata3">
              <img :src="item.src" alt />
              <h3>{{item.hinfo}}</h3>
              <p class="p_info">{{ item.title }}</p>
            </li>
          </ul>
          <div class="btn bggccc bts">
            <a href @click.prevent="showModal">推荐免考数学专业 >></a>
            <a href @click.prevent="showModal">推荐免考英语专业 >></a>
            <a href @click.prevent="showModal">推荐好就业高薪专业 >></a>
            <a href @click.prevent="showModal">更多专业咨询 + >></a>
          </div>
        </div>
      </div>
      <div class="title_row_module">
        <h1 class="title_info">
          <span style="color:#df6807">政策</span> 瞬息万变，提升学历刻不容缓
        </h1>
        <p class="p_info">2020年成人教育政策有了新变化，趁早报考，早考早拿证！</p>
        <div class="row_img_info bg_none margin_glup">
          <div class="new_info">
            <div class="item_box">
              <h3>学费暴增</h3>
              <p class="p_info_this">为提升成人教育的招生质量，许多名校逐步减少专科招生名额，增涨学费，名校资源越来越紧缺！</p>
              <span class="span_size" @click="showModal">立即咨询学业顾问 ></span>
            </div>
            <div class="item_box">
              <h3>部分院校和专业停招</h3>
              <p class="p_info_this">2020年起，部分985/211高校将停止招生或取消部分专业招生计划，减少招生人数！</p>
              <span class="span_size" @click="showModal">立即咨询学业顾问 ></span>
            </div>
            <div class="item_box">
              <h3>考试范围加大，难度增加</h3>
              <p class="p_info_this">成人教育的含金量逐步增加，本科考试范围扩大，部分专业增加高数、微积分考试，难度越来越大！</p>
              <span class="span_size" @click="showModal">立即咨询学业顾问 ></span>
            </div>
          </div>
        </div>
      </div>
      <div class="title_row_module">
        <h1 class="title_info">选择楚才教育，省时省钱省力省心</h1>
        <p class="p_info">市场鱼龙混杂，学历大事，必须认准有官方授权的正规机构！！</p>
        <div class="row_img_info bg_none margin_glup">
          <ul>
            <li :key="item.id" v-for="item in listdata2">
              <img :src="item.src" alt />
              <h3>{{item.hinfo}}</h3>
              <p class="p_info" v-html="item.title "></p>
            </li>
          </ul>
          <div class="btn bggccc">
            <a href @click.prevent="showModal">获取更多优势 >></a>
          </div>
        </div>
      </div>
    </div>
    <div class="bgc_max">
      <div class="homePageContent">
        <div class="title_row_module solid_bottom">
          <h1 class="title_info">国家承认，学信网可查，终身有效</h1>
          <div class="row_img_info bg_none bgc_set">
            <ol>
              <li>
                <span></span>电子注册，唯一编码，学信网终身可查，含金量高
              </li>
              <li>
                <span></span>企事业单位认可度高，升值、加薪、评职称皆可！
              </li>
              <li>
                <span></span>国家承认的正规学历，跳槽、有利于个人提升！
              </li>
              <li>
                <span></span>持有国家承认的本科学历，可优先申请办理居住证!
              </li>
              <li class="btn_this">
                <a @click.prevent="showModal">升专科学历咨询</a>
                <a @click.prevent="showModal">升本科学历咨询</a>
              </li>
            </ol>
            <div>
              <img src="../../assets/zt_60.jpg" alt />
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="homePageContent">
      <div class="title_row_module solid_bottom">
        <h1 class="title_info">
          <span style="color:red">资深学业顾问</span>为您答疑解惑
        </h1>
        <div class="row_img_info bg_none">
          <div class="abtns">
            <span class="item_link" @click="showModal">学费要多少钱?</span>
            <span class="item_link" @click="showModal">学历报考条件是什么？</span>
            <span class="item_link" @click="showModal">怎么办免考科目？</span>
            <span class="item_link mr-0" @click="showModal">上班族怎么安排时间备考？</span>
            <span class="item_link" @click="showModal">没专科能升本科吗？</span>
            <span class="item_link" @click="showModal">没专科能升本科吗？</span>
            <span class="item_link" @click="showModal">大概多久能考下证书？</span>
            <span class="item_link mr-0" @click="showModal">什么时间截止报名？</span>
          </div>
          <div class="btn bggccc">
            <a href @click.prevent="showModal">查看更多常见问题 >></a>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import mockdata from "../../mock/mock";
export default {
  name: "home_page",
  data() {
    return {
      listdata: mockdata.imgTextData,
      listdata2: mockdata.imgTextDataTwo,
      listdata3: mockdata.imgTextDataTreen,
      floatlist1: mockdata.floatBox,
      school1f: mockdata.acee,
      school3f: mockdata.acee2,
      school2f: mockdata.acee3
    };
  },
  methods: {
    showModal() {
      this.$emit("showModalInGloble", true);
    }
  },
  created() {}
};
</script>

<style lang="less" src="./homePage.less"></style>